package com.ssmTest.service.impl;

import com.ssmTest.service.IVerificationCodeService;
import org.springframework.stereotype.Service;

@Service("verificationCodeService")
public class VerificationCodeServiceImpl implements IVerificationCodeService{
    //获取验证码
    //获取验证码
    public String verification_Code(String phone_number){
        return "123456";
    }
    //验证验证码
    /*
    返回值：
        true  验证码正确
        false 验证码过时或者错误
     */
    public boolean verification(String phone,String code){
        return true;
    }
}
